Optimal. Leaf size=80 \[ \frac {\sin (c+d x) \cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \, _2F_1\left (\frac {1}{2},\frac {1}{2} (1-n p);\frac {1}{2} (3-n p);\sin ^2(c+d x)\right )}{d (1-n p) \sqrt {\cos ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4123, 3772, 2643} \[ \frac {\sin (c+d x) \cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \, _2F_1\left (\frac {1}{2},\frac {1}{2} (1-n p);\frac {1}{2} (3-n p);\sin ^2(c+d x)\right )}{d (1-n p) \sqrt {\cos ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2643
Rule 3772
Rule 4123
Rubi steps
\begin {align*} \int \left ((b \csc (c+d x))^p\right )^n \, dx &=\left ((b \csc (c+d x))^{-n p} \left ((b \csc (c+d x))^p\right )^n\right ) \int (b \csc (c+d x))^{n p} \, dx\\ &=\left (\left ((b \csc (c+d x))^p\right )^n \left (\frac {\sin (c+d x)}{b}\right )^{n p}\right ) \int \left (\frac {\sin (c+d x)}{b}\right )^{-n p} \, dx\\ &=\frac {\cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \, _2F_1\left (\frac {1}{2},\frac {1}{2} (1-n p);\frac {1}{2} (3-n p);\sin ^2(c+d x)\right ) \sin (c+d x)}{d (1-n p) \sqrt {\cos ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.12, size = 71, normalized size = 0.89 \[ -\frac {\sin (c+d x) \cos (c+d x) \sin ^2(c+d x)^{\frac {1}{2} (n p-1)} \left ((b \csc (c+d x))^p\right )^n \, _2F_1\left (\frac {1}{2},\frac {1}{2} (n p+1);\frac {3}{2};\cos ^2(c+d x)\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.62, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 3.01, size = 0, normalized size = 0.00 \[ \int \left (\left (b \csc \left (d x +c \right )\right )^{p}\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left ({\left (\frac {b}{\sin \left (c+d\,x\right )}\right )}^p\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (\left (b \csc {\left (c + d x \right )}\right )^{p}\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________